<?php get_header();?>
	<div id="content">
    <h2 class="pagetitle">Search Results for "<?php echo $s; ?>"</h2>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
		  <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      <div class="titlearea">
        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>        
      </div>
      <div class="entry">
				<?php the_excerpt(); ?>
        <?php edit_post_link();?>
      </div>
			<div class="meta">
        <p class="byline">
          <?php the_author_posts_link();?> wrote this on <?php the_time('M d Y');?>
        </p>
				<p class="links">
          <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read Full Post &#187;</a>
        </p>
			</div>
    </div>
    <?php endwhile; ?>
     	<?php else : ?>
				<h2 class="center">Not Found</h2>
				<p class="center">Sorry, but you are looking for something that isn't here.</p>
			<?php endif; ?>
			<p align="center">
        <?php posts_nav_link(' - ','&#171; Newer Entries','Older Entries &#187;') ?>
      </p>
	</div>
  <?php get_sidebar();?>
  <?php get_footer();?>